<!--<?php
require_once template('header'); 
require_once template('help_left');
print <<<EOT
<!-- 右边开始 -->
	<div id="right">
		<div id="location"><p><b>$navigation</b></p></div>
		<div class="member_xg">
			<div class="title8"><span>$lang[pricelist]</span></div>
			<div id="px"><span><img src="$imgpath/excel.jpg" align="absmiddle"><a href ="quotation.php?action=goods_excel">$lang[down_goods]</a></span>
			 <a  href="quotation.php?action=list&ps_or=price&ps_ac=$ps_ac">$lang[buy_price]</a>|
			 <a  href="quotation.php?action=list&ps_or=stock&ps_ac=$ps_ac">$lang[stock]</a>|
			 <a href="quotation.php?action=list&ps_or=date&ps_ac=$ps_ac">$lang[regdate]</a></div>
			<table cellspacing="0" cellpadding="0" align="center" class="bjd">
				<tr>
					<th width="6%">No.</th>
					<th width="8%">$lang[buy_pic]</th>
					<th width="35%">$lang[buy_name]</th>
					<th width="11%">$lang[brand]</th>
					<th width="18%">$lang[buy_price]</th>
					<th width="8%">$lang[stock]</th>
					<th width="13%">$lang[regdate]</th>
				</tr>
			<!--数据循环开始-->
<!--
EOT;
foreach ($goods as $val){
print <<<EOT
-->
				<tr>
					<td>$val[uid]</td>
					<td class="bjd_img"><a href="$val[url]" title="$val[title]" target="_blank"><img src="$val[photo]" /></a></td>
					<td><a href="$val[url]" title="$val[title]" target="_blank">$val[subject]</a></td>
					<td>$val[brand]</td>
					<td>
<!--
EOT;
foreach ($val[price] as $price_val){
print <<<EOT
-->					
			  		$price_val[title]: <strong>$price_val[price]</strong><br />
<!--
EOT;
} print <<<EOT
-->				
					</td>
					<td>$val[goods_stock]</td>
					<td>$val[date]</td>
				</tr>
<!--
EOT;
} print <<<EOT
-->
			<!--数据循环结束-->

			</table>
			<div class="page1">$lang[genus_total]<span>$total_count</span>$lang[entries]$lang[note] $page_list</div>
		</div>
		<div class="title_b"><p></p></div>
	</div>
	<!-- 右边结束 -->
<!--
EOT;
?>-->